package com.springboot.dto;

public class MemorandumShowView {
    private Integer itemId;

    private String memorandumContent;

    private String createTime;

    private String memorandumTitle;

    public MemorandumShowView(Integer itemId, String memorandumContent, String createTime, String memorandumTitle) {
        this.itemId = itemId;
        this.memorandumContent = memorandumContent;
        this.createTime = createTime;
        this.memorandumTitle = memorandumTitle;
    }

    public MemorandumShowView(){}

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public String getMemorandumContent() {
        return memorandumContent;
    }

    public void setMemorandumContent(String memorandumContent) {
        this.memorandumContent = memorandumContent;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getMemorandumTitle() {
        return memorandumTitle;
    }

    public void setMemorandumTitle(String memorandumTitle) {
        this.memorandumTitle = memorandumTitle;
    }

    //需要前端参数名，改
    @Override
    public String toString() {
        return "{" +
                "\"selfRemindId\":\"" + itemId + '\"' +
                ",\"selfRemindDetail\":\"" + memorandumContent + '\"' +
                ",\"selfRemindContent\":\"" + memorandumTitle + '\"' +
                ",\"selfRemindDate\":\"" + createTime + '\"' +
                '}';
    }
}